local cache = {}
---需要热更新的模块
function reload(modle)
    cache[modle] = require(modle)
    return cache[modle]
end

---重置所有模块
function resert()
    for k, _ in pairs(cache) do
        package.loaded[k] = nil
        cache[k] = nil
    end
end

return {
    reload = reload,
    resert = resert
}
